package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 语言记录对象 t_lang_library
 * 
 * @author ruoyi
 * @date 2024-04-19
 */
public class TLangLibrary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 语种数据表 */
    private Long id;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 国家编码 */
    @Excel(name = "国家编码")
    private String langCode;

    /** 目标结果 */
    @Excel(name = "目标结果")
    private String targetValue;

    /** 使用类型：1-前端固定标签；2-任务相关；3-其他 */
    @Excel(name = "使用类型：1-前端固定标签；2-任务相关；3-其他")
    private Integer type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setLangCode(String langCode) 
    {
        this.langCode = langCode;
    }

    public String getLangCode() 
    {
        return langCode;
    }
    public void setTargetValue(String targetValue) 
    {
        this.targetValue = targetValue;
    }

    public String getTargetValue() 
    {
        return targetValue;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("langCode", getLangCode())
            .append("targetValue", getTargetValue())
            .append("type", getType())
            .toString();
    }
}
